Integrand size = 22, antiderivative size = 151 \[ \int \frac {x^2}{\left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\frac {x^3 \sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}} \operatorname {AppellF1}\left (\frac {3}{n},\frac {3}{2},\frac {3}{2},\frac {3+n}{n},-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{3 a \sqrt {a+b x^n+c x^{2 n}}} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 151, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {1399, 524} \[ \int \frac {x^2}{\left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\frac {x^3 \sqrt {\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}+1} \sqrt {\frac {2 c x^n}{\sqrt {b^2-4 a c}+b}+1} \operatorname {AppellF1}\left (\frac {3}{n},\frac {3}{2},\frac {3}{2},\frac {n+3}{n},-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{3 a \sqrt {a+b x^n+c x^{2 n}}} \]
[In]
[Out]
Rule 524
Rule 1399
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}}\right ) \int \frac {x^2}{\left (1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}\right )^{3/2} \left (1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )^{3/2}} \, dx}{a \sqrt {a+b x^n+c x^{2 n}}} \\ & = \frac {x^3 \sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}} F_1\left (\frac {3}{n};\frac {3}{2},\frac {3}{2};\frac {3+n}{n};-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{3 a \sqrt {a+b x^n+c x^{2 n}}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(398\) vs. \(2(151)=302\).
Time = 0.68 (sec) , antiderivative size = 398, normalized size of antiderivative = 2.64 \[ \int \frac {x^2}{\left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\frac {x^3 \left (-6 (3+n) \left (b^2-2 a c+b c x^n\right )-\left (b^2 (-6+n)-4 a c (-3+n)\right ) (3+n) \sqrt {\frac {b-\sqrt {b^2-4 a c}+2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^n}{b+\sqrt {b^2-4 a c}}} \operatorname {AppellF1}\left (\frac {3}{n},\frac {1}{2},\frac {1}{2},\frac {3+n}{n},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}},\frac {2 c x^n}{-b+\sqrt {b^2-4 a c}}\right )+18 b c x^n \sqrt {\frac {b-\sqrt {b^2-4 a c}+2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^n}{b+\sqrt {b^2-4 a c}}} \operatorname {AppellF1}\left (\frac {3+n}{n},\frac {1}{2},\frac {1}{2},2+\frac {3}{n},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}},\frac {2 c x^n}{-b+\sqrt {b^2-4 a c}}\right )\right )}{3 a \left (-b^2+4 a c\right ) n (3+n) \sqrt {a+x^n \left (b+c x^n\right )}} \]
[In]
[Out]
\[\int \frac {x^{2}}{\left (a +b \,x^{n}+c \,x^{2 n}\right )^{\frac {3}{2}}}d x\]
[In]
[Out]
Exception generated. \[ \int \frac {x^2}{\left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int \frac {x^2}{\left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\int \frac {x^{2}}{\left (a + b x^{n} + c x^{2 n}\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {x^2}{\left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\int { \frac {x^{2}}{{\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2}{\left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\int { \frac {x^{2}}{{\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^2}{\left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\int \frac {x^2}{{\left (a+b\,x^n+c\,x^{2\,n}\right )}^{3/2}} \,d x \]
[In]
[Out]